package com.hngy.educationaladministration.service.serviceImpl;

import com.hngy.educationaladministration.entity.Score;
import com.hngy.educationaladministration.mapper.ScoreMapper;
import com.hngy.educationaladministration.service.ScoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: 秃头不用洗发水
 * @Date: 2021-06-04
 * @Description:
 */
@Service
public class ScoreServiceImpl implements ScoreService {
    @Autowired
    private ScoreMapper scoreMapper;

    @Override
    public void insertScore(Score score) {
        scoreMapper.insertScore(score);
    }

    @Override
    public Score selectByFid(Integer fid) {
        return scoreMapper.getScoreByFid(fid);
    }

}
